//
//  XMAlertView.h
//  MyNewProject
//
//  Created by apple on 2019/2/16.
//  Copyright © 2019年 sun. All rights reserved.
//

#import <UIKit/UIKit.h>
@interface XMAlertView : UIView

- (instancetype)initWithAlertViewType:(NSInteger)type;//1 新人须知 2账户余额

///  弹框
/// @param msg msg
- (instancetype)initWithAlertViewWithMsg:(NSString *)msg;

- (void)show;
@property (nonatomic,retain)UIView * blackBackView;
@property (nonatomic,retain)UIView * whiteBackView;

@property (nonatomic,retain)UIImageView * tipImageView;
@property (nonatomic,retain)UIButton * closedButton;
@property (nonatomic, copy) dispatch_block_t leftBlock;

@property (nonatomic, copy) dispatch_block_t rightBlock;
@end
